package com.maxd.modules.antPlant.api.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class WphOrderQueryResp {
        @JsonProperty("message")
        private String message;
        @JsonProperty("status_code")
        private Integer statusCode;
        private Data data;
        @Getter
        @Setter
        public static class Data{
            @JsonProperty("orderInfoList")
            private List<OrderinfolistItem> orderinfolist;
            @Getter
            @Setter
            public static class OrderinfolistItem{
                @JsonProperty("orderSn")
                private String ordersn;
                @JsonProperty("status")
                private Integer status;
                @JsonProperty("newCustomer")
                private Integer newcustomer;
                @JsonProperty("channelTag")
                private String channeltag;
                @JsonProperty("orderTime")
                private Long ordertime;
                @JsonProperty("signTime")
                private Object signtime;
                @JsonProperty("settledTime")
                private Object settledtime;
                @JsonProperty("detailList")
                private List<DetaillistItem> detaillist;
                @Getter
                @Setter
                public static class DetaillistItem{
                    @JsonProperty("goodsId")
                    private String goodsid;
                    @JsonProperty("goodsName")
                    private String goodsname;
                    @JsonProperty("goodsThumb")
                    private String goodsthumb;
                    @JsonProperty("goodsCount")
                    private Integer goodscount;
                    @JsonProperty("commissionTotalCost")
                    private String commissiontotalcost;
                    @JsonProperty("commissionRate")
                    private String commissionrate;
                    @JsonProperty("commission")
                    private String commission;
                    @JsonProperty("commCode")
                    private String commcode;
                    @JsonProperty("commName")
                    private String commname;
                    @JsonProperty("orderSource")
                    private String ordersource;
                    @JsonProperty("afterSaleInfo")
                    private Object aftersaleinfo;
                    @JsonProperty("sizeId")
                    private String sizeid;
                    @JsonProperty("status")
                    private Integer status;
                    @JsonProperty("brandStoreSn")
                    private String brandstoresn;
                    @JsonProperty("brandStoreName")
                    private String brandstorename;
                }
                @JsonProperty("lastUpdateTime")
                private Long lastupdatetime;
                @JsonProperty("settled")
                private Integer settled;
                @JsonProperty("selfBuy")
                private Integer selfbuy;
                @JsonProperty("orderSubStatusName")
                private String ordersubstatusname;
                @JsonProperty("commission")
                private String commission;
                @JsonProperty("afterSaleChangeCommission")
                private Object aftersalechangecommission;
                @JsonProperty("afterSaleChangeGoodsCount")
                private Object aftersalechangegoodscount;
                @JsonProperty("commissionEnterTime")
                private Long commissionentertime;
                @JsonProperty("orderSource")
                private String ordersource;
                @JsonProperty("pid")
                private String pid;
                @JsonProperty("isPrepay")
                private Integer isprepay;
                @JsonProperty("statParam")
                private String statparam;
                @JsonProperty("isSplit")
                private Integer issplit;
                @JsonProperty("parentSn")
                private Object parentsn;
                @JsonProperty("orderTrackReason")
                private Integer ordertrackreason;
                @JsonProperty("appKey")
                private String appkey;
            }
            @JsonProperty("total")
            private Integer total;
        }
    }
